.class Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;
.super Landroid/support/v4/app/FragmentStatePagerAdapter;
.source "GuideActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/activity/GuideActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "GuideAdapter"
.end annotation


# instance fields
.field mFragments:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Landroid/support/v4/app/Fragment;",
            ">;"
        }
    .end annotation
.end field

.field final synthetic this$0:Lcom/brixd/niceapp/activity/GuideActivity;


# direct methods
.method public constructor <init>(Lcom/brixd/niceapp/activity/GuideActivity;Landroid/support/v4/app/FragmentManager;)V
    .registers 5
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/GuideActivity;
    .param p2, "fm"    # Landroid/support/v4/app/FragmentManager;

    .prologue
    .line 271
    iput-object p1, p0, Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    .line 272
    invoke-direct {p0, p2}, Landroid/support/v4/app/FragmentStatePagerAdapter;-><init>(Landroid/support/v4/app/FragmentManager;)V

    .line 273
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;->mFragments:Ljava/util/List;

    .line 274
    iget-object v0, p0, Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;->mFragments:Ljava/util/List;

    const v1, 0x7f03005b

    invoke-static {v1}, Lcom/brixd/niceapp/activity/fragment/GuideFragment;->getInstance(I)Lcom/brixd/niceapp/activity/fragment/GuideFragment;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 275
    iget-object v0, p0, Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;->mFragments:Ljava/util/List;

    const v1, 0x7f03005c

    invoke-static {v1}, Lcom/brixd/niceapp/activity/fragment/GuideFragment;->getInstance(I)Lcom/brixd/niceapp/activity/fragment/GuideFragment;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 276
    iget-object v0, p0, Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;->mFragments:Ljava/util/List;

    const v1, 0x7f03005d

    invoke-static {v1}, Lcom/brixd/niceapp/activity/fragment/GuideFragment;->getInstance(I)Lcom/brixd/niceapp/activity/fragment/GuideFragment;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 277
    return-void
.end method


# virtual methods
.method public getCount()I
    .registers 2

    .prologue
    .line 286
    iget-object v0, p0, Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;->mFragments:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Landroid/support/v4/app/Fragment;
    .registers 3
    .param p1, "arg0"    # I

    .prologue
    .line 281
    iget-object v0, p0, Lcom/brixd/niceapp/activity/GuideActivity$GuideAdapter;->mFragments:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/support/v4/app/Fragment;

    return-object v0
.end method
